﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using Microhard.FMCG.Buz.Impls.KASystem.WUMart;
using Microhard.FMCG.Buz.Models;

namespace Microhard.FMCG.Buz.Interfaces
{
    public interface IKASystem
    {
        LoginResultModel Login(string userName, string pwd, string validCode);
        List<OrderModel> GetOrder(DateTime from, DateTime to, out bool isError);
        List<OrderDetailModel> GetOrderDetail(string orderNo, DateTime from, DateTime to, out bool isError);
        List<NewsModel> GetNews(out bool isError);
        string GetNewsDetail(string identity);
        Stream GetLoginCode();
        decimal GetMonthStatement(DateTime month, string supplierCode, out bool isError);
        void UpdateGoodsReceiveInfo(DateTime from, DateTime to, out bool isError);
        Guid CompanyID { set; get; }
    }
}
